package com.taixu.apiorder.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.taixu.common.annotation.ExcelDictFormat;
import com.taixu.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 订单视图对象 apiorder
 *
 * @author ximu
 * @date 2023-12-14
 */
@Data
@ExcelIgnoreUnannotated
public class ApiOrderVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long orderId;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderNo;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    private String cph;

    /**
     * 车架号
     */
    @ExcelProperty(value = "车架号")
    private String vin;

    /**
     * 车辆状态
     */
    @ExcelProperty(value = "车辆状态")
    private String result;

    /**
     * 订单状态
     */
    @ExcelProperty(value = "订单状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_status")
    private Long status;

    /**
     * 订单结果
     */
    @ExcelProperty(value = "订单结果", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "res_status")
    private Long resStatus;

    /**
     * 推送结果
     */
    @ExcelProperty(value = "推送结果", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "push_status")
    private Long pushStatus;

    /**
     * 所属key
     */
    @ExcelProperty(value = "所属key")
    private String bykey;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date foundTime;

    /**
     * 完成时间
     */
    @ExcelProperty(value = "完成时间")
    private Date finishTime;


}
